package com.pfc.others;

import java.util.Hashtable;


public class Location {

	String locationName;
	Hashtable<String, Fingerprint> fingerPrintList;

	
	
	public Location() {
		this.locationName = "";
		this.fingerPrintList = new Hashtable<String, Fingerprint>();
	}

	public Location(String loc, Hashtable<String, Fingerprint> lista) {
		this.locationName = loc;
		this.fingerPrintList = lista;
	}
	
	public String getLocationName() {
		return locationName;
	}

	public void setLocationName(String locationName) {
		this.locationName = locationName;
	}

	public Hashtable<String, Fingerprint> getFingerPrintList() {
		return fingerPrintList;
	}

	public void setFingerPrintList(Hashtable<String, Fingerprint> fingerPrintList) {
		this.fingerPrintList = fingerPrintList;
	}

	public int size() {
		return this.fingerPrintList.size();
	}

	public void add(String place, Fingerprint h) {
		this.fingerPrintList.put(place, h);
	}
	
	public Fingerprint getFingerprint(String place){
		return this.fingerPrintList.get(place);
	}
	
	
}
